package com.bitejiuyeke.job_publish.dao;

import com.bitejiuyeke.job_publish.model.Offer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OfferMapper {
    int insert(Offer row);

    int insertSelective(Offer row);

    Offer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Offer row);

    int updateByPrimaryKey(Offer row);

    int selectTotalByUser(Offer row);

    List<Offer> selectPageByUser (Offer row);
}